// 咨询组件接口


// 获取专家列表
export const getExperts = () => axios.get('/consultation/experts')

// 发起咨询请求
export const createConsultation = (data) => axios.post('/consultation', data)

// 获取历史咨询记录
export const getConsultationHistory = (userId) => axios.get(`/consultation/history/${userId}`)